import request from '@/utils/request'

export function getAllCooperationList() {
  return request({
    url: '/cooperation/list',
    method: 'get'
  })
}

export function uploadCooperationList(data) {
  return request({
    url: '/cooperation',
    method: 'post',
    data
  })
}

export function updateCooperationList(data) {
  return request({
    url: '/cooperation',
    method: 'PUT',
    data
  })
}
